<?php

class WUserFilter extends Portlet {

    public $url;

    protected function renderContent() {
        $filters = UserFilter::model()->findAll('owner_id = ?', array(Y::userId()));
        if(count($filters))
            $this->render("userFilter", compact('filters'));
    }
}
